﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Ymca.Web.Models.Account
{
	public class ChangePasswordViewModel
	{
		[Required]
		[Display(Name = "Old Password")]
		[StringLength(60, MinimumLength = 6)]
		public string OldPassword { get; set; }

		[Required]
		[Display(Name = "Password")]
		[StringLength(60, MinimumLength = 6)]
		public string Password { get; set; }

		[Display(Name = "Confirm Password")]
		[Compare("Password")]
		public string ConfirmPassword { get; set; }
	}
}